package com.crm.common.crm.entity.VO;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;


/**
 * 线索分配记录对象 hp_crm_leads_distribution_record
 *
 * @author beiluo
 * @date 2021-06-18
 */
public class HpCrmLeadsDistributionRecordVO
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 销售负责人id */
     @ApiModelProperty(value = "销售负责人id")
    private Long ownerUserId;

    /** 默认为0，每天分配线索的数量 */
     @ApiModelProperty(value = "默认为0，每天分配线索的数量")
    private Long num;


    /** 默认为0，每天分配线索的数量 */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;



    /** 默认为0，每天分配线索的数量 */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOwnerUserId(Long ownerUserId)
    {
        this.ownerUserId = ownerUserId;
    }

    public Long getOwnerUserId()
    {
        return ownerUserId;
    }
    public void setNum(Long num)
    {
        this.num = num;
    }

    public Long getNum()
    {
        return num;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("ownerUserId", getOwnerUserId())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("num", getNum())
                .toString();
    }
}